﻿@using Webdiyer.WebControls.Mvc

@model PagedList<MvcFrameStruct.Areas.Article.Models.ArticleInfo>



@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

    @using (Html.BeginForm("Index", ViewContext.RouteData.GetRequiredString("Controller"), new RouteValueDictionary { { "id", "" } }, FormMethod.Get))
    {
        <div class="well">
            <span>搜索关键字：</span><input type="text" name="kword" value="@Request.QueryString["kword"]" style="width:120px" />
            <input type="submit" value="搜索(S)" class="button_on" accesskey="S" />
            <span>（请输入“吴起”或“吴起县”进行测试）</span>
            @Html.ActionLink("新增","Add")
        </div>
    }
<div id="articles">
    @Html.Partial("_ArticleList", Model)
</div>

@section scripts
{
    @{Html.RegisterMvcPagerScriptResource();}
}